package com.weichen.studentgameexchange.strategy;

import com.weichen.studentgameexchange.strategy.config.StrategyConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@SpringBootApplication(scanBasePackages = {"com.weichen.studentgameexchange.strategy","com.weichen.studentgameexchange.common.config"})
@MapperScan(basePackages = "com.weichen.studentgameexchange.strategy.dao")
@Import(StrategyConfig.class)
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.weichen.studentgameexchange.strategy.feign")
public class StudentGameExchangeStrategyApplication {

	public static void main(String[] args) {
		SpringApplication.run(StudentGameExchangeStrategyApplication.class, args);
	}

}
